#include<stdio.h>

int Max(int a, int b)
{
  return a>b?a:b;
}
int Min(int a,int b)
{
  return a<b?a:b;
}
void test1()
{
  int a,b,c;
  scanf("%d%d%d",&a,&b,&c);
  printf("max is %d\n",Max(Max(a,b),c));
  printf("min is %d\n",Min(Min(a,b),c));

}
void test2()
{
  int a, b, sum;
  scanf("%d%d", &a, &b);
  if(a < 0)
  {
    a = -a;
  }
  if(b < 0)
  {
    b = -b;
  }
  sum = a + b;
  printf("%d\n", sum);
}
void test3()
{
  int score = 0;
  scanf("%d", &score);
  switch(score/10)
  {
  case 9:
    printf("A\n");
    break;
  case 8:
    printf("B\n");
    break;
  case 7:
    printf("C\n");
    break;
  case 6:
    printf("D\n");
    break;
  case 5:
  case 4:
  case 3:
  case 2:
  case 1:
  case 0:
    printf("E\n");
    break;
  }
}
void test4()
{
  int score = 0;
  scanf("%d", &score);
  if(score >= 90)
  {
    printf("A\n");
  }
  else if(score >= 80)
  {
    printf("B\n");
  }
  else if(score >= 70)
  {
    printf("C\n");
  }
  else if(score >= 60)
  {
    printf("D\n");
  }
  else{
    printf("E\n");
  }

}

void test5()
{
  int x = 0;
  scanf("%d",&x);
  if(x<0&&x!=3)
  {
    printf("y=%d",x*x+x-6);
  }
  else if(x>0&&x<5&&x!=2&&x!=3)
  {
    printf("y=%d", x*x - 5*x +  6);
  }
  else{
    printf("y = %d", x*x - x - 1);
  }
}
void test6()
{
  int n=0;
  scanf("%d",&n);
  if(n%400==0||(n%4==0&&n%100!=0))
  {
    printf("%d is leap_year\n", n);
  }
  else{

    printf("%d is not leap_year\n", n);
  }
  
}
int main()
{
  //test1();
  //test2();
 // test3();
 //   test5();  
 // test4();
 test6();
  return 0;
}
